Method and apparatus for configuring virtual scene, and storage medium thereof

ABSTRACT

A method and apparatus for configuring a virtual scene are provided. The method includes obtaining a target configuration information for a target scene element in the virtual scene based on an instruction by a first client indicating a candidate scene element; and instructing a second client to display the target scene element in the virtual scene based on the target configuration information, wherein a player activity in the virtual scene is only viewable via the first client and the player activity in the virtual scene is interactable via the second client.

RELATED APPLICATION

This application is a continuation application of U.S. application Ser.No. 17/104,646, filed on Nov. 25, 2020, which is a continuationapplication of PCT Patent Application No. PCT/CN2019/102136, filed onAug. 23, 2019, which claims priority to Chinese Patent Application No.201811070484.1, entitled “CONFIGURATION METHOD AND APPARATUS FOR VIRTUALSCENE, STORAGE MEDIUM, AND ELECTRONIC DEVICE” filed with the NationalIntellectual Property Administration, PRC on Sep. 13, 2018, wherein thecontent of each of the above-referenced applications is incorporatedherein by reference in its entirety.

FIELD OF THE TECHNOLOGY

This application relates to the field of the Internet, and specifically,to a method and an apparatus for configuring a virtual scene.

BACKGROUND OF THE DISCLOSURE

With the development of multimedia technologies and the popularity ofwireless networks, entertainment activities of people becomeincreasingly rich, for example, playing a game online by using aportable media device and playing a single or online game by using acomputer. There are various types of games such as barrage shootinggames, adventure games, simulation games, role-playing games, casualchess and card games, and other games.

During gaming in most types of games, for example, in a 3D-type game, agame progress or game logic may need to be changed in a game process,and currently, this can only be achieved by a player by specifyingsettings in a setting menu before a game starts. Such a setting mannerleads to an undiversified operation mode and degrades user experience.

For the foregoing problem, no effective solution has been provided yet.

SUMMARY

Embodiments of this disclosure provide a configuration method andapparatus for a virtual scene, a storage medium, and an electronicdevice, to resolve at least a technical problem of a relativelyundiversified setting manner in the related art.

According to an aspect of the embodiments of this disclosure, a methodfor configuring a virtual scene is provided. The method may includeobtaining a target configuration information for a target scene elementin the virtual scene based on an instruction by a first clientindicating a candidate scene element. The method may further includeinstructing a second client to display the target scene element in thevirtual scene based on the target configuration information. A playeractivity in the virtual scene is only viewable via the first client andthe player activity in the virtual scene is interactable via the secondclient.

According to another aspect of the embodiments of this disclosure, anapparatus for configuring a virtual scene is further provided. Theapparatus may include a memory operable to store program code and aprocessor operable to read the program code. The processor may beconfigured to obtain a target configuration information for a targetscene element in the virtual scene based on an instruction by a firstclient indicating a candidate scene element. The processor may befurther configured to instruct a second client to display the targetscene element in the virtual scene based on the target configurationinformation. A player activity in the virtual scene is only viewable viathe first client and the player activity in the virtual scene isinteractable via the second client.

According to another aspect of the embodiments of this disclosure, anon-transitory machine-readable storage medium is further provided. Thestorage medium may have processor executable instructions storedthereon. The instructions may cause a processor to obtain a targetconfiguration information for a target scene element in the virtualscene based on an instruction by a first client indicating a candidatescene element. The instructions may further cause the processor toinstruct a second client to display the target scene element in thevirtual scene based on the target configuration information. A playeractivity in the virtual scene is only viewable via the first client andthe player activity in the virtual scene is interactable via the secondclient.

In the embodiments of this disclosure, the first terminal displays theplurality of pieces of configuration information obtained from theserver, the configuration information being used for configuring thescene elements in the virtual scene, for example, tactical elements,such as a flight route and supplies richness, in a game. The user maytrigger the selection operation for the scene element. The firstterminal detects the foregoing selection operation, generates theselection instruction carrying the selected configuration information,and transmits the selection instruction to the server. The servergenerates the indication information based on the foregoing selectioninstruction to indicate the target scene element in a plurality ofscenarios, and then transmits the indication information to theapplication running on the second terminal, for instructing theapplication running on the second terminal to display the target sceneelement in the virtual scene. In the operation process of theapplication, a manner of specifying settings in advance before operationof a game is replaced with allowing users to participate in determiningfinal configuration information, so that flexibility of configuration isimproved, and enthusiasm and a sense of participation of a user areimproved, and this is conducive to promotion of the disclosure.

BRIEF DESCRIPTION OF THE DRAWINGS

The accompanying drawings described herein are used to provide furtherunderstanding of this disclosure, and form a part of this disclosure.Exemplary embodiments of this disclosure and descriptions thereof areused to explain this disclosure, and do not constitute any inappropriatelimitation to this disclosure. In the accompanying drawings:

FIG. 1 is a schematic diagram of a hardware environment of aconfiguration method for a virtual scene according to an embodiment ofthis disclosure.

FIG. 2 is a flowchart of an optional configuration method for a virtualscene according to an embodiment of this disclosure.

FIG. 3 is a flowchart of an optional configuration method for a virtualscene according to an embodiment of this disclosure.

FIG. 4 is a schematic diagram of an optional user interface according toan embodiment of this disclosure.

FIG. 5 is a schematic diagram of an optional user interface according toan embodiment of this disclosure.

FIG. 6 is a schematic diagram of an optional user interface according toan embodiment of this disclosure.

FIG. 7 is a schematic diagram of an optional user interface according toan embodiment of this disclosure.

FIG. 8A is a schematic diagram of an optional user interface accordingto an embodiment of this disclosure.

FIG. 8B is a schematic diagram of an optional user interface accordingto an embodiment of this disclosure.

FIG. 9 is a schematic diagram of an optional user interface according toan embodiment of this disclosure.

FIG. 10 is a schematic diagram of an optional user interface accordingto an embodiment of this disclosure.

FIG. 11 is a schematic diagram of an optional configuration solutionaccording to an embodiment of this disclosure.

FIG. 12 is a schematic diagram of an optional configuration apparatusfor a virtual scene according to an embodiment of this disclosure.

FIG. 13 is structural block diagram of a terminal according to anembodiment of this disclosure.

DESCRIPTION OF EMBODIMENTS

To make solutions of this disclosure more comprehensible for a personskilled in the art, the technical solutions in embodiments of thisdisclosure are clearly and completely described below with reference tothe accompanying drawings in the embodiments of this disclosure.Apparently, the described embodiments are merely some rather than all ofthe embodiments of this disclosure. All other embodiments obtained by aperson skilled in the art based on the embodiments of this disclosurewithout creative efforts shall fall within the protection scope of thisdisclosure.

The terms such as “first” and “second” in the specification, claims, andforegoing accompanying drawings of this disclosure are intended todistinguish between similar objects rather than describe a particularsequence or a chronological order. It is to be understood that the datatermed in such a way is interchangeable in proper circumstances, so thatthe embodiments of this disclosure described herein can be implementedin other orders than the orders illustrated or described herein.Moreover, the terms “include” and “have” and any other variations meanto cover the non-exclusive inclusion. For example, a process, method,system, product, or device that includes a list of operations or unitsis not necessarily limited to those expressly listed steps or units, butmay include other steps or units not expressly listed or inherent tosuch a process, method, product, or device.

First, some nouns or terms that appear during descriptions of theembodiments of this disclosure are applicable to the followingexplanations:

A 3D game refers to a three-dimensional electronic game based onthree-dimensional computer graphics, including, but not limited to, amultiplayer online 3D game, a single 3D game played by a single player,and a virtual reality game system established based on a 3D game system,and has a property of being generally applicable to platforms, where 3Dgames on a game console platform, a mobile phone game platform, and a PCgame platform may be included.

A tactical competitive game refers to a game in which victory is soughtthrough confrontation using tactical elements.

A client game refers to a conventional online game that can be played ona terminal, such as a computer or mobile phone, by downloading a client.

A viewer refers to a viewer that watches an e-Sports event by using aspecified client or a web page or at an offline venue.

According to an aspect of the embodiments of this disclosure, a methodembodiment of a configuration method for a virtual scene is provided.

Optionally, in this embodiment, the foregoing configuration method for avirtual scene may be applied to a hardware environment including aserver 101 and a terminal 103 (including a first terminal and a secondterminal) as shown in FIG. 1 . As shown in FIG. 1 , the server 101,connected to the terminal 103 through a network, may be configured toprovide a service (such as a game service or an event live streamingservice) for the terminal 103 or a client installed on the terminal 103.A database 105 may be set on a server or independently of the server,and is configured to provide a data storage service for the server 101.The foregoing network includes, but is not limited to, a wide areanetwork, a metropolitan area network, or a local area network, and theterminal 103 is not limited to a PC, a mobile phone, a tablet computer,and the like.

The configuration method for a virtual scene in this embodiment of thisdisclosure may be performed by the server 101. FIG. 2 is a flowchart ofan optional configuration method for a virtual scene according to anembodiment of this disclosure. As shown in FIG. 2 , the method mayinclude the following steps.

Step S202. A server obtains a selection instruction generated by anapplication running on a first terminal in response to a selectionoperation triggered by a user.

The foregoing server may be a server that provides an applicationservice for a target application. The target application may be anapplication that can provide a virtual scene, for example, a gameapplication, an event live streaming application, a medical simulationapplication, and a military simulation application. The following isdescribed by using a game application as an example. The foregoing firstterminal is a terminal through which activity information of an activityin the virtual scene can be viewed, that is, a terminal corresponding toa viewer. What corresponds to the first terminal is a second terminal,the second terminal being a terminal through which an activity can beparticipated in in the virtual scene, that is, a terminal correspondingto a streamer.

For example, in a game application, a user can enter a live streamingstudio to launch a live streaming event. In this case, the user is astreamer, and other users entering the live streaming studio by using astudio number to watch a game process live streamed by the streamer areviewers of the live streaming studio. The viewer in the live streamingstudio may further participate in interaction by using an interactionmodule provided by the application when watching live-streamed content.

The selection instruction includes configuration information selected bythe user. The configuration information is used for configuring a sceneelement in the virtual scene and may be information for configuring thescene element or an attribute of the scene element. A plurality ofpieces of configuration information may be considered as a plurality ofoptions in a same interface. Each option has a correspondingconfiguration event, and the configuration event may be an event(different from a task executed by a target object controlled by thesecond terminal) in underlying logic of the target application. Forexample, in the game application, the event may be understood as a gameprogress or a part of the game progress, or further, for example, anevent that generates a game item and a game behavior and that has impacton a player's game result in a tactical competitive game, and includes,but is not limited to, distribution of various supplies in the game,determining of an airdrop location, division of a player activity zone,and tactical elements (or referred to as scene elements) such as dynamicweather.

The foregoing plurality of scene elements may be any scene element inthe virtual scene or a to-be-configured scene element.

Step S204. The server generates indication information based on theselection instruction, the indication information being used forindicating a target scene element in the plurality of scene elements.

Specifically, when there are a plurality of first terminals, the servermay count, according to selection instructions transmitted byapplications running on the plurality of first terminals respectively inresponse to selection operations of different users, a quantity of timesthat each scene element in a plurality of preset scene elements isselected, determine the target scene element according to the quantityof times that the each scene element in the plurality of preset sceneelements is selected, and then generate the indication information usedfor indicating the target scene element.

For ease of understanding, descriptions are provided by using a gameapplication as an example. For example, the plurality of scene elementsmay be 0.6, 0.8, 1, or 1.2 times supplies richness. Quantities of timesthat the foregoing scene elements are selected are 23, 52, 18, and 41 insequence. Therefore, the target scene element is determined as 0.8 timessupplies richness, and indication information generated by the server isspecifically 0.8 times supplies richness, indicating the suppliesrichness in a current game scene. In another example, the plurality ofscene elements may be an initial flight route of an aircraft, includingflight routes 1 to 5. Quantities of times that the foregoing sceneelements are selected are 87, 36, 101, 43, and 55 in sequence.Therefore, the route of the target scene element is determined as theflight route 3, and the indication information generated by the serverbased on the selection instruction is specifically that the initialflight route of an aircraft is the flight route 3.

Step S206. The server transmits the indication information to anapplication running on the second terminal, to instruct the applicationrunning on the second terminal to display the target scene element inthe virtual scene.

In view of the above, through the foregoing steps, during an operationprocess of the target application, for example, during an operationprocess of a round of a game, a progress of the round of the game may beaffected by using the first terminal. When a viewer watches an e-Sportsevent by using a specified client or a web page on the first terminal orby using the first terminal at an offline venue, various game progressesof in the e-Sports event being watched may be affected by a selectionoperation such as voting.

The foregoing embodiment is described by using an example in which theconfiguration method for a virtual scene in this embodiment of thisdisclosure is performed by the server 101. The configuration method fora virtual scene in this embodiment of this disclosure may alternativelybe performed by the terminal 103. A difference from the foregoingembodiment merely lies in that an execution body is changed from aserver to a terminal. The configuration method for a virtual scene inthis embodiment of this disclosure may alternatively be jointlyperformed by the server 101 and the terminal 103. The terminal 103performs one or two steps of step S202 to step S206, and the serverperforms the remaining steps. For example, the terminal 103 performsstep S202, and the server performs step S204 to step S206. Theconfiguration method for a virtual scene in this embodiment of thisdisclosure performed by the terminal 103 may alternatively be performedby a client installed on the terminal 103.

Through the foregoing step S202 to step S206, when the second terminalcontrols the target object in the virtual scene displayed on the client,the scene element in the virtual scene can be configured on the firstterminal through a triggered selection operation. In other words, duringa process in which the second terminal runs an application providing avirtual scene, the first terminal may affect a scene element in thevirtual scene, so that the technical problem that a setting manner isrelatively undiversified in the related art can be resolved, therebyimproving flexibility of setting.

In the technical solution provided by step S202 in this application, theviewer may select configuration information from the plurality of piecesof configuration information through the selection operation triggeredon the first terminal (equivalent to selecting a corresponding sceneelement by performing the selection operation to vote). When theselection is completed by the viewer, the first terminal detects theselection operation for the plurality of pieces of configurationinformation and generates the selection instruction in response to theselection operation, the selection instruction including theconfiguration information selected by the user. The server may obtainthe selection instruction, generates indication information according tothe selection instruction, transmits the indication information to anapplication running on the second terminal, and configures the sceneelement (such as a flight route of a character of a player or suppliesallocation in the virtual scene) in a game scene (that is, the virtualscene) on the second terminal of the player. In the related art, invarious e-Sports events held, a viewer can only watch an event processof a player, and has a relatively low sense of participation. However,if a view voting function of this solution is adopted, the viewer mayaffect refresh locations and refresh times of various tactical elementsby voting, so that the viewer has higher enthusiasm in watching the gameand stickiness of the viewer to the event is improved. Moreover, whenfacing the mechanism, the player may use different game policiesaccording to an on-site situation, so that the event is more enjoyable.

Optionally, before the selection operation triggered on the firstterminal is obtained, the viewer may vote in the following manner: Around of a game may be divided into several stages, the several stagesincluding a first running stage and a second running stage that aresequentially arranged in chronological order (a starting time of thesecond running stage is not earlier than an ending time of the firstrunning stage). In a case that a round of a game (that is, a targettask) running on a client is in the first running stage, the servertransmits configuration information used for representing a plurality ofscene elements to the first terminal. In a process in which the firstterminal displays game information (for example, a live streamed gamescreen) of the first running stage of the round of the game, that is, ina process in which the viewer watches the game, the first terminal mayfurther display a plurality of pieces of to-be-selected configurationinformation, so that the viewer can perform the selection operation onthe plurality of pieces of configuration information (herein, each pieceof configuration information may be used for configuring one or morescene elements, and scene elements or attributes of the scene elementsconfigured by using any two pieces of the configuration information arenot completely the same) to vote on the first terminal of the viewer. Ina case that the round of the game running on a client on the secondterminal is in the second running stage, the plurality of pieces ofconfiguration information are used for configuring the virtual scene ofthe round of the game, that is, the viewer may determine the gameprogress of the game in a stage following the first running stage.

In an optional embodiment, in a case that the server transmits theplurality of pieces of configuration information to the first terminal,the type of elements configured by using the transmitted configurationinformation may be mainly classified into two main types as follows.

First type: In a case that element types of the plurality of sceneelements are the first type, the configuration information used forrepresenting a plurality of scene elements of the first type istransmitted to a plurality of first terminals. The scene element of thefirst type may be a global scene element (for example, a global tacticalelement in a game application) having impact on a plurality of objectsin the virtual scene, the plurality of objects being objects controlledby a plurality of terminals, each terminal in the plurality of terminalsbeing configured to control an object in the plurality of objects. Theplurality of terminals include the second terminal, and the plurality ofobjects include the target object. The scene element may be the globaltactical element, and includes, but is not limited to: an initial flightroute of an aircraft, supplies richness of the round of the game,geographical distribution of all safe zones, and dynamic weather.

Second type: In a case that element types of the plurality of sceneelements are the second type, the configuration information used forrepresenting a plurality of scene elements of the second type istransmitted to the first terminal. The scene element of the second typemay be a random scene element (for example, a random tactical element ina game application) in the virtual scene. The random tactical elementincludes, but is not limited to, refresh locations of airdroppedsupplies, frequencies of the airdropping supplies, categories includedin the airdropped supplies, and refresh locations and frequencies ofsome advanced supplies.

For the global scene element, the server may sequentially transmit aplurality of pieces of configuration information of the global sceneelement to the application running on the first terminal at a specifiedtime point before the application running on the second terminal is todisplay the scene element in a case that the application running on thesecond terminal is in a preset first running stage.

For the random scene element, the server may randomly transmit aplurality of pieces of configuration information of the random sceneelement to the application running on the first terminal according to ascene correlation between a historical scene element in the applicationrunning on the second terminal and the random scene element.

The plurality of pieces of configuration information in this applicationmay be used for configuring a plurality of different scene elements, theplurality of different scene elements may be a plurality of sceneelements of the same type, for example, an initial flight route of anaircraft, supplies richness of the round of this round of a game, andgeographical distribution of all safe zones. The plurality of differentscene elements may alternatively be a plurality of scene elements ofdifferent types, for example, an initial flight route of an aircraft,supplies richness of this round of a game, refresh locations ofairdropped supplies, and frequencies of the airdropped supplies. Theplurality of configuration information in this application may furtherbe used for configuring the same scene element, for example, configuringa plurality of initial flight routes of an aircraft, various suppliesrichness of this round of a game, geographical distribution of varioussafe zones, a plurality of types of dynamic weather.

In the foregoing embodiment, the transmitting the configurationinformation used for representing a plurality of scene elements of thefirst type to a plurality of first terminals includes at least one ofthe following:

1) transmitting the plurality of pieces of configuration informationused for representing a plurality of scene elements to the firstterminal, quantities of props configured by using any two of theplurality of pieces of configuration information in the virtual scenebeing different, in other words, the configuration information beingused for configuring supplies richness of the round of the game, thatis, a quantity of supplies;

2) transmitting the plurality of pieces of configuration informationused for representing a plurality of scene elements to the firstterminal, moving trajectories of transport vehicle configured by usingany two of the plurality of pieces of configuration information in thevirtual scene being different, the transport vehicle being configured totransport a plurality of objects and including, but not limited to, anaircraft, a tank, a car, and the like, and by using an aircraft as anexample, the configuration information being used for configuring aninitial flight route of an aircraft;

3) transmitting the plurality of pieces of configuration informationused for representing a plurality of scene elements to the firstterminal, safe zones configured by using any two of the plurality ofpieces of configuration information in the virtual scene beingdifferent, the safe zone being a zone in which no harm is caused to lifeattributes of a plurality of objects, in other words, the configurationinformation being used for configuring geographical distribution ofvarious safe zones; and

4) transmitting the plurality of pieces of configuration informationused for representing a plurality of scene elements to the firstterminal, weather environments configured by using any two of theplurality of pieces of configuration information in the virtual scenebeing different, in other words, the configuration information beingused for configuring an option of dynamic weather.

That is, the server may transmit, in a unified manner, a plurality ofpieces of configuration information of at least one element in aplurality of pieces of configuration information of a virtual propelement, a plurality of pieces of configuration information of a movingtrajectory of a virtual transport vehicle, a plurality of pieces ofconfiguration information of a safe zone, and a plurality of pieces ofconfiguration information of a weather environment to the applicationrunning on the first terminal at the specified time point before theapplication running on the second terminal is to display a global gamescene element.

Optionally, when the plurality of pieces of configuration informationare transmitted to the first terminal, because the configurationinformation is equivalent to voting selection information, to improvevoting efficiency, a decentralized voting method may be adopted:classifying all first terminals running the application into two types;transmitting a plurality of pieces of first-type configurationinformation for the scene element in the virtual scene to theapplication running on the first terminal of a first type, andtransmitting a plurality of pieces of second-type configurationinformation for the scene element in the virtual scene to theapplication running on the first terminal of a second type, thefirst-type configuration information and the second-type configurationinformation being configured respectively for different attributes ofthe scene element in the virtual scene.

In an example, the server may transmit first configuration informationin the plurality of pieces of configuration information to some of allthe first terminals, and transmit second configuration information inthe plurality of pieces of configuration information to the remainingterminals in all the first terminals. The types and/or attributes ofprops configured by using the first configuration information and thesecond configuration information in the virtual scene are different. Forexample, in a case that the prop configured by using the firstconfiguration information is an aircraft, and the prop configured byusing the second configuration information is a tank, a quantity ofaircraft configured by using the first configuration information is1.2*X (X is a given base), and a quantity of tanks configured by thesecond configuration information being 1.5*X.

For example, in a case that the server transmits the configurationinformation used for representing of a plurality of scene elements ofthe second type to the first terminal: the first configurationinformation in the plurality of pieces of configuration information maybe transmitted to some of all the first terminals, types of propsconfigured by using any two pieces of the first configurationinformation in the virtual scene being different; and a plurality ofpieces of the second configuration information are transmitted to theremaining terminals in all the first terminals, appearance locations ofprops configured by using any two pieces of the second configurationinformation in the virtual scene being different.

In the technical solution provided by step S204, the server generatesthe indication information based on the selection instruction, theindication information being used for indicating the target sceneelement in the plurality of scene elements.

Optionally, there may be a plurality of the selection instructions. Aquantity of times that each scene element in the plurality of sceneelements is selected is determined according to the plurality of theselection instructions, the plurality of the selection instructionsbeing respectively generated by triggering the selection operations on aplurality of first terminals. That is, each first terminal may trigger aselection operation. The target scene element in the plurality of sceneelements is determined according to the quantity of times that eachscene element in the plurality of scene elements is selected. Theindication information used for indicating the target scene element isgenerated.

In the foregoing embodiments, a plurality of the selection operationsare respectively triggered on the plurality of first terminals,including: determining a scene element selected the most times by theplurality of the selection operations in the plurality of scene elementsas the target scene element, that is, counting a quantity of times thateach scene element is voted for, the scene element having the highestvotes being a target task; or determining a weight ki (ki represents aweight of the i^(th) task) of the each scene element according to aquantity of times that the each scene element is selected by theplurality of the selection operations in the plurality of sceneelements, performing weighted summation according to a parameterconfigured for the each scene element and the weight of the each sceneelement to obtain a reference value, and determining a scene elementhaving a parameter closest to the reference value as the target sceneelement.

An optional weight determining method is: counting a total quantity ofvoting times P and a quantity pi of times (or referred to as thequantity of times of being selected) that the each scene element isvoted for, so that a weight is ki=pi/P, determining the target sceneelement in the plurality of scene elements according to a product of aparameter configured for the each scene element and the weight of theeach scene element, a parameter mi (mi represents a parameter configuredfor the i^(th) scene element) configured for the each scene element maybe determined according to an actual situation, for example, a quantityof props and locations of props, then calculating ƒ=Σ_(i=1) ^(n)(ki*mi), n representing a quantity of tasks, and using a scene elementhaving a parameter closest to f as the target scene element.

In the technical solution provided by step S206, the server transmitsthe indication information to a client installed on the second terminal,to instruct the client to display the target scene element in thevirtual scene. The second terminal is configured to control a targetobject in the virtual scene displayed on the client, the second terminalbeing different from the first terminal.

In a case that an application running on the second terminal is a webapplication (or referred to as an online application), the servertransmits the indication information to a browser installed on thesecond terminal, to instruct the browser to display the target sceneelement in the virtual scene.

Optionally, after the indication information is transmitted to theclient installed on the second terminal, the server may transmitfeedback information to an application running on the first terminal,the feedback information being used for feeding back whether the sceneelement that is indicated by the selection instruction and that isselected by a user is the target scene element.

The configuration method for a virtual scene in this embodiment of thisdisclosure may be performed by a first terminal. The method may includethe following steps.

Step S302. Display a plurality of pieces of configuration informationobtained from a server, the configuration information being used forconfiguring a scene element in the virtual scene.

Optionally, the plurality of pieces of configuration informationobtained from the server are displayed. In a case that a target taskrunning on a client is in a first running stage, the plurality of piecesof configuration information are obtained from the server and aredisplayed.

Step S304. Detect a selection operation for the plurality of pieces ofconfiguration information. Step S306. Generate a selection instructionin response to the selection operation, the selection instructionincluding configuration information that is selected by a user and thatis used for determining a target scene element.

Step S308. Transmit the selection instruction to the server, anddetermine, through the server based on the selection instruction, thetarget scene element and generate indication information, to instruct anapplication running on a second terminal to display the target sceneelement in the virtual scene.

Optionally, the instructing, through the server, the client on thesecond terminal to display the target scene element in the virtual sceneincludes: instructing, through the server, the client to display thetarget scene element in the virtual scene in a case that the target taskthat is run is in a second running stage, a starting time of the secondrunning stage being not earlier than an ending time of the first runningstage.

Optionally, the displaying a plurality of pieces of configurationinformation obtained from a server includes: making a scene elementselection page pop up on an application page of an application runningon the first terminal in a case that the application running on thesecond terminal is in a preset first running stage, and displaying theplurality of pieces of configuration information obtained from theserver on the scene element selection page.

Specifically, the first terminal may make the scene element selectionpage pop up on the application page of the application running on thefirst terminal in a case that the application running on the secondterminal is in the preset first running stage, and sequentially displaya plurality of pieces of configuration information of each global sceneelement obtained from the server.

Certainly, the first terminal may further receive a plurality of piecesof configuration information of a to-be-displayed random scene elementrandomly transmitted by the server according to a scene correlationbetween a historical scene element in the application running on thesecond terminal and the random scene element, make the scene elementselection page pop up on the application page of the application runningon the local terminal, and displaying the plurality of pieces ofconfiguration information of the random scene element on the sceneelement selection page.

For a game application, the displaying the plurality of pieces ofconfiguration information of the random scene element on the sceneelement selection page may be specifically displaying, on the sceneelement selection page, at least one of the following: a plurality ofpieces of configuration information of a virtual prop element, aplurality of pieces of configuration information of a moving trajectoryof a virtual transport vehicle, a plurality of pieces of configurationinformation of a safe zone, and a plurality of pieces of configurationinformation of a weather environment.

In a case that element types of a plurality of scene elements are thefirst type, a plurality of pieces of configuration information used forrepresenting the plurality of scene elements of the first type aredisplayed on the first terminal, a scene element of the first type beingused for representing a global element having impact on a plurality ofobjects in the virtual scene, the plurality of objects being objectscontrolled by a plurality of terminals, each terminal in the pluralityof terminals being configured to control an object in the plurality ofobjects, the plurality of terminals including the second terminal, andthe plurality of objects including the target object; and/or in a casethat element types of the plurality of scene elements are the secondtype, a plurality of pieces of configuration information used forrepresenting the plurality of scene elements of the second type aredisplayed on the first terminal, a scene element of the second typebeing used for representing a random element in the virtual scene.

The displaying, on the first terminal, a plurality of pieces ofconfiguration information used for representing the plurality of sceneelements of the first type includes at least one of the following:displaying, on the first terminal, a plurality of pieces ofconfiguration information used for configuring props in the virtualscene, quantities of props configured by using any two of the pluralityof pieces of configuration information in the virtual scene beingdifferent; displaying, on the first terminal, a plurality of pieces ofconfiguration information used for configuring a moving trajectory of atransport vehicle in the virtual scene, moving trajectories of transportvehicle configured by using any two of the plurality of pieces ofconfiguration information in the virtual scene being different, and thetransport vehicle being configured to transport a plurality of objects;displaying, on the first terminal, a plurality of pieces ofconfiguration information used for configuring a safe zone in thevirtual scene, safe zones configured by using any two of the pluralityof pieces of configuration information in the virtual scene beingdifferent, the safe zone being a zone in which no harm is caused to lifeattributes of a plurality of objects; and displaying, on the firstterminal, a plurality of pieces of configuration information used forconfiguring a weather environment in the virtual scene, weatherenvironments configured by using any two of the plurality of pieces ofconfiguration information in the virtual scene being different.

After the server instructs the client on the second terminal to displaythe target scene element in the virtual scene, the first terminal mayfurther obtain feedback information transmitted by the server, anddisplay the feedback information through the application running on thefirst terminal, the feedback information being used for feeding backwhether the scene element that is indicated by the selection instructionand that is selected by a user is the target scene element.

The configuration method for a virtual scene in this embodiment of thisdisclosure may be performed by a second terminal. The method may includethe following steps.

The second terminal obtains indication information transmitted by aserver, the indication information being generated by the server byselecting, according to a selection operation of a first terminal,configuration information from a plurality of pieces of configurationinformation by the server, the configuration information being used forconfiguring a scene element in the virtual scene.

Optionally, the indication information may be obtained in a case that atarget task running on a client is in a first running stage.

A client on the second terminal displays a target scene element in thevirtual scene according to an instruction of the indication information,the second terminal being configured to control a target object in thevirtual scene displayed on the client, the second terminal beingdifferent from the first terminal.

Optionally, the target scene element may be configured in the virtualscene of the target task in a case that the target task running on theclient is in a second running stage, to display the target scene elementin the virtual scene, a starting time of the second running stage beingnot earlier than an ending time of the first running stage.

In an optional embodiment, the technical solution of this disclosure isdescribed below in detail with reference to the specificimplementations.

When a viewer watches a game event through a live streaming client or alive streaming website, a tactical element selection page pops upirregularly on the client or a web page during the event. The tacticalelement mainly includes two types: a global tactical element and arandom tactical element. The global tactical element is a tacticalelement that has impact on all players, and a selection page pops upregularly when the element is needed to function. For the randomtactical element, selection pages pop up according to a size of acategory in sequence for the viewer to make choices and finallydetermine a specific item of the random tactical element.

The global tactical elements may include: an initial flight route of anaircraft, supplies richness of this round of the game, geographicaldistribution of all safe zones, dynamic weather, and the like. Whenwatching this round of the game event, the viewer may vote in real time(that is, perform the selection operation) for an alternative option in40 s (equivalent to the foregoing first running stage) before eachtactical element is to function. A voting result finally determines aresult of the tactical element. The viewer has 30 s to vote for analternative option, and the option having the most votes becomes theresult of the tactical element.

An optional order for global elements to appear is as follows.

For the supplies richness of this round of the game shown in FIG. 4 ,five alternative options pop up on a viewing interface for viewers, thefive options being respectively 0.6 times, 0.8 times, 1 times, 1.2times, and 1.4 times normal supplies richness. After the viewers makechoices, the server allocates the supplies all over a map according tothe times having the most votes from the viewers.

For the initial flight route of an aircraft shown in FIG. 5 , a viewinginterface for viewers may pop up on a map interface, and display aplurality of (for example, five) different flight routes, and optionscorresponding to the flight routes pop up. After the viewers makechoices, the server arranges the flight route according to the flightroute having the most votes from the viewers.

For the distribution of safe zones shown in FIG. 6 , a map interfacepops up on a live streaming interface in 40 s before each safe zone isrefreshed, and displays a plurality of (for example, five) differentgeographical location options of a next safe zone refresh. After theviewers make choices, the server refreshes the safe zones according togeographical distribution of the safe zones having the most votes fromthe viewers.

For the dynamic weather option shown in FIG. 7 , the option appearsthroughout game process. Except for that initial weather is assigned bythe server, each subsequent weather change may be selected by theviewers through voting in a plurality of (for example, five) alternativeweather options and be displayed in a weather forecast box in an upperleft corner of the game.

The foregoing random tactical elements may include: a refresh locationof an airdrop, a frequency of the airdrop, categories of items includedin the airdrop, and refresh locations and frequencies of some advancedsupplies. In this round of the game, refresh location and frequencyoptions of advanced supplies in the random tactical elements may appearfollowing supplies richness options of this round of the game in theglobal tactical elements. The refresh location of the airdrop andcategories included in the airdrop may appear randomly in the game.

For the refresh locations and categories of the advanced supplies, thereare many categories of advanced supplies in the game, and the advancedsupplies may be distributed widely. Therefore, the foregoing votingmanner for the global tactical element is not to be used, and adecentralized voting manner may be used instead. That is, the viewersare divided into 2N groups randomly, and viewers of every two groups arerespectively responsible for a refresh location and a refresh categoryof an advanced supply. An optional operation method is as follows.

The system divides the viewers into 2N groups randomly, and the viewersof the 2N groups determine refresh locations and refresh categories of Nadvanced supplies granted in this round of the game. Every two groupsdetermine an advanced supply, and one group of viewers in the two groupsof viewers determine a refresh location of the supply. As shown in FIG.8A, the system provides five alternative locations in a part of a mapfor this group, and the viewers of the group select the refresh locationof the supply through voting, the refresh location being a locationhaving the most votes. The viewers of the other group determine therefresh category of the supply, and the system provides alternativeoptions of five advanced supplies randomly. As shown in FIG. 8B, theviewers of the group select the refresh category of the supply throughvoting, the refresh category being the category having the most votes.

For a refresh location of and categories included in the airdrop, duringviewing of a round of the game, the options pop up randomly, and eachtime the options pop up, the viewers make two choices. As shown in FIG.9 and FIG. 10 , an airdrop location and items included in the airdropare selected respectively, where the items included in the airdrop arein different combinations prepared in advance. After the viewers makechoices, the server delivers the airdrop according to the location andcategories that are selected the most times by the viewer.

Functions of the foregoing solutions may be completed by coordinationbetween a live streaming client on the first terminal and a server. Asshown in FIG. 11 , a server 1101 generates a tactical element option andtransmits the option to a live streaming client 1103. The live streamingclient 1103 is responsible for allocating all tactical element optionwindows and collecting statistics of related option data, for example,collecting statistics of player selections and transmitting thestatistics to the server. The server 1101 is responsible for generatingrelated options and generating related tactical elements according to aresult transmitted by the live streaming client 1103.

The server 1101 generates the tactical element option and transmits theoption to the live streaming client 1103. The server 1101 may monitor inreal time a stage (that is, a first running stage) that a client of atarget application is in, to determine whether there is a subsequentstage (that is, a second running stage) in which tactical elements needto be configured. If it is determined that voting needs to be performedin the first running stage (that is, there is an element that needs tobe configured in the second running stage), the tactical elements (orreferred to as scene elements) for which voting is needed in a nextstage are obtained, a plurality of pieces of configuration informationused for representing to-be-configured scene elements are generated, andthe tactical elements are transmitted to each live streaming client(that is, the live streaming client on the first terminal) in a form ofconfiguration information.

Each first terminal votes within a valid time (for example, within atime period of the first running stage or before arrival of the secondrunning stage), that is, selects the configuration information, andafter completing the selection, the first terminal transmits theselected configuration information to the server 1101.

The server 1101 counts votes in the valid time, to determine a finalvoting result, that is, a target scene element finally selected.

Before arrival of the second running stage, the server 1101 isconfigured to transmit indication information used for representing thetarget scene element to each second terminal, to display the targetscene element in the virtual scene on the second terminal when thesecond running stage arrives.

After the solution in this disclosure is adopted, the sense ofparticipation of ordinary viewers in e-Sports events is improved, andmore game viewers may be attracted to become potential game users,enabling wider promotion of the e-Sports events. In addition, voting ofthe viewers makes randomness and topicality of the events stronger, andimproves watching experience of the viewers.

To make the description simple, the foregoing method embodiments arestated as a series of action combinations. However, a person skilled inthe art needs to learn that this disclosure is not limited to thedescribed sequence of the actions, because according to this disclosure,some steps may use another sequence or may be simultaneously performed.In addition, it is to be understood by a person skilled in the art thatthe embodiments described in the specification are all exemplaryembodiments and the related actions and modules are not mandatory tothis disclosure.

According to the foregoing descriptions of implementations, a personskilled in the art may clearly learn that the method according to theforegoing embodiments may be implemented by using software and anecessary general hardware platform, or certainly may be implemented byusing hardware. However, in most cases, the former is a betterimplementation. Based on such an understanding, the technical solutionsof this disclosure essentially, or the part contributing to the relatedart may be embodied in the form of a software product. The computersoftware product is stored in a storage medium (for example, a read-onlymedium (ROM)/a random access memory (RAM), a magnetic disk, or anoptical disc), and includes several instructions for instructing aterminal device (which may be a mobile phone, a computer, a server, or anetwork device) to perform the methods according to the embodiments ofthis disclosure.

According to another aspect of the embodiments of this disclosure, aconfiguration apparatus for a virtual scene is further provided toperform the foregoing configuration method for a virtual scene. FIG. 12is a schematic diagram of an optional configuration apparatus for avirtual scene according to an embodiment of this disclosure. As shown inFIG. 12 , the apparatus may include:

a first obtaining unit 1201, configured to obtain a selectioninstruction generated by an application running on a first terminal inresponse to a selection operation triggered by a user, the selectioninstruction including configuration information selected by the user,the configuration information being used for configuring a scene elementin the virtual scene;

a generation unit 1203, configured to generate indication informationaccording to the selection instruction, the indication information beingused for indicating a target scene element in a plurality of sceneelements; and

a first transmitting unit 1205, configured to transmit the indicationinformation to an application running on a second terminal, to instructthe application running on the second terminal to display the targetscene element in the virtual scene.

The first obtaining unit 1201 in this embodiment may be configured toperform step S202 in the embodiments of this disclosure, the generationunit 1203 in this embodiment may be configured to perform step S204 inthe embodiments of this disclosure, and the transmitting unit 1205 inthis embodiment may be configured to perform step S206 in theembodiments of this disclosure.

Implemented examples and application scenarios of the foregoing modulesare the same as those of the corresponding steps, but are not limited tothe content disclosed in the foregoing embodiments. The foregoingmodules may be run in the hardware environment shown in FIG. 1 as a partof the apparatus, and may be implemented by software, or may beimplemented by hardware.

By the foregoing modules, when the second terminal controls the targetobject in the virtual scene displayed on the client, the scene elementin the virtual scene can be configured on the first terminal by theselection operation triggered. In other words, during the process ofrunning the application providing the virtual scene by the secondterminal, the first terminal may affect the scene element in the virtualscene, so that the technical problem that the setting method isrelatively undiversified in the related art can be resolved, and thetechnical effect of improving the flexibility of the setting can beachieved.

In the foregoing embodiment, the generation unit 1203 may be configuredto:

count, according to selection instructions transmitted by applicationsrunning on a plurality of first terminals respectively in response toselection operations of different users, a quantity of times that eachscene element in a plurality of preset scene elements is selected;

determine the target scene element according to the quantity of timesthat the each scene element in the plurality of preset scene elements isselected; and

generate the indication information used for indicating the target sceneelement.

Optionally, the apparatus in this disclosure may further include asecond transmitting unit, configured to:

sequentially transmit a plurality of pieces of configuration informationof a global scene element to the application running on the firstterminal at a specified time point before the application running on thesecond terminal is to display the scene element in a case that theapplication running on the second terminal is in a preset first runningstage; and/or

randomly transmit a plurality of pieces of configuration information ofa to-be-displayed random scene element to the application running on thefirst terminal according to a scene correlation between a historicalscene element in the application running on the second terminal and therandom scene element.

Optionally, the second transmitting unit is specifically configured to:

transmit, in a unified manner, a plurality of pieces of configurationinformation of at least one element in a plurality of pieces ofconfiguration information of a virtual prop element, a plurality ofpieces of configuration information of a moving trajectory of a virtualtransport vehicle, a plurality of pieces of configuration information ofa safe zone, and a plurality of pieces of configuration information of aweather environment to the application running on the first terminal atthe specified time point before the application running on the secondterminal is to display a global game scene element.

Optionally, the apparatus in this disclosure may further include a thirdtransmitting unit, configured to:

classify all first terminals running the application into two types;

transmit a plurality of pieces of first-type configuration informationfor the scene element in the virtual scene to the application running onthe first terminal of a first type, and transmit a plurality of piecesof second-type configuration information for the scene element in thevirtual scene to the application running on the first terminal of asecond type, the first-type configuration information and thesecond-type configuration information being configured respectively fordifferent attributes of the scene element in the virtual scene.

Optionally, the generation unit 1203 is specifically configured to:

determine a scene element selected the most times as the target sceneelement; or

determine a weight of the each scene element according to the quantityof times that the each scene element in the plurality of preset sceneelements is selected, perform weighted summation according to aparameter configured for the each scene element and the weight of theeach scene element to obtain a reference value, and determine a sceneelement having a parameter closest to the reference value as the targetscene element.

Optionally, the apparatus in this disclosure may further include afeedback unit, configured to transmit feedback information to theapplication running on the first terminal, the feedback informationbeing used for feeding back whether the scene element that is indicatedby the selection instruction and that is selected by the user is thetarget scene element.

According to another aspect of the embodiments of this disclosure, aconfiguration apparatus for a virtual scene is further provided toperform the foregoing configuration method for a virtual scene. Theapparatus may be applied to a first terminal. The apparatus may include:

a display unit, configured to display a plurality of pieces ofconfiguration information obtained from a server, the configurationinformation being used for configuring a scene element in a virtualscene;

a detection unit, configured to detect a selection operation on a localterminal, and generate a selection instruction in response to theselection operation, the selection instruction including configurationinformation that is selected by a user and that is used for determininga target scene element; and

an indication unit, configured to transmit the selection instruction tothe server, and determine, through the server based on the selectioninstruction, the target scene element and generate indicationinformation, to instruct an application running on a second terminal todisplay the target scene element in the virtual scene.

Optionally, the indication unit may further be configured to instruct,through the server, a client to display the target scene element in thevirtual scene in a case that the target task that is run is in a secondrunning stage, a starting time of the second running stage being notearlier than an ending time of a first running stage.

Optionally, the display unit is configured to:

make a scene element selection page pop up on an application page of anapplication running on a local terminal in a case that the applicationrunning on the second terminal is in a preset first running stage, anddisplay the plurality of pieces of configuration information obtainedfrom the server on the scene element selection page.

Optionally, the display unit is specifically configured to:

make the scene element selection page pop up on the application page ofthe application running on the local terminal in a case that theapplication running on the second terminal is in the preset firstrunning stage, and sequentially display a plurality of pieces ofconfiguration information of each global scene element obtained from theserver; and/or

receive a plurality of pieces of configuration information of ato-be-displayed random scene element randomly transmitted by the serveraccording to a scene correlation between a historical scene element inthe application running on the second terminal and the random sceneelement, make the scene element selection page pop up on the applicationpage of the application running on the local terminal, and display theplurality of pieces of configuration information of random scene elementon the scene element selection page.

Optionally, the display unit is specifically configured to display, onthe scene element selection page, at least one of the following:

a plurality of pieces of configuration information of a virtual propelement, a plurality of pieces of configuration information of a movingtrajectory of a virtual transport vehicle, a plurality of pieces ofconfiguration information of a safe zone, and a plurality of pieces ofconfiguration information of a weather environment.

The display unit may be further configured to obtain feedbackinformation transmitted by the server, the feedback information beingused for feeding back whether the scene element that is indicated by theselection instruction and that is selected by the user is the targetscene element, and display the feedback information through theapplication running on the first terminal.

According to another aspect of the embodiments of this disclosure, aconfiguration apparatus for a virtual scene is further provided toperform the foregoing configuration method for a virtual scene. Theapparatus may be applied to a second terminal. The apparatus mayinclude:

a second obtaining unit, configured to obtain indication informationtransmitted by a server, the indication information being generated bythe server by selecting, according to a selection operation of a firstterminal, configuration information from a plurality of pieces ofconfiguration information by the server, the configuration informationbeing used for configuring a scene element in the virtual scene.

Optionally, the second obtaining unit may further be configured toobtain the indication information in a case that a target task runningon a client is in a first running stage.

A scene display unit is configured to display a target scene element inthe virtual scene on the client of the second terminal according to aninstruction of the indication information, the second terminal beingconfigured to control a target object in the virtual scene displayed onthe client, the second terminal being different from the first terminal.

Optionally, the scene display unit may be further configured toconfigure the target scene element in the virtual scene of the targettask in a case that the target task running on the client is in a secondrunning stage, to display the target scene element in the virtual scene,a starting time of the second running stage being not earlier than anending time of a first running stage.

When a player watches a game event through a live streaming client or alive streaming website, a tactical element selection page pops upirregularly on the client or a web page during the event. The tacticalelement mainly includes two types: a global tactical element and arandom tactical element. The global tactical element is a tacticalelement that has impact on all players, and a selection page pops upregularly when the element is needed to function. For the randomtactical element, selection pages pop up according to a size of acategory in sequence for the player to make choices and finallydetermine a specific item of the random tactical element.

After the solution in this disclosure is adopted, the sense ofparticipation of ordinary viewers in e-Sports events is improved, andmore game viewers may be attracted to become potential game users,enabling wider promotion of the e-Sports events. In addition, voting ofthe viewers makes randomness and topicality of the events stronger, andimproves watching experience of the viewers.

Implemented examples and application scenarios of the foregoing modulesare the same as those of the corresponding steps, but are not limited tothe content disclosed in the foregoing embodiments. The foregoingmodules may be run in the hardware environment shown in FIG. 1 as a partof the apparatus, and may be implemented by software, or may beimplemented by hardware. The hardware environment includes a networkenvironment.

According to another aspect of the embodiments of this disclosure, aserver or a terminal for implementing the foregoing configuration methodfor a virtual scene is further provided.

FIG. 13 is a structural block diagram of a server according to anembodiment of this disclosure. As shown in FIG. 13 , the server mayinclude: one or more (only one is shown) processor 1301, a memory 1303,and a transmission apparatus 1305. As shown in FIG. 13 , the server mayfurther include an input/output device 1307.

The memory 1303 may be configured to store a software program and amodule, such as a program instruction/module corresponding to theconfiguration method and the apparatus for a virtual scene in theembodiments of this disclosure. The processor 1301 executes variousfunctional applications and data processing by running the softwareprogram and the module that are stored in the memory 1303, to implementthe foregoing configuration method for a virtual scene. The memory 1303may include a high-speed random memory, and may also include anonvolatile memory such as one or more magnetic storage apparatuses, aflash memory, or another nonvolatile solid-state memory. In someexamples, the memory 1303 may further include memories disposed remoteto the processor 1301, and the memories may be connected to the serverthrough a network. An example of the network includes, but is notlimited to, the Internet, an intranet, a local area network, a mobilecommunication network and a combination thereof.

The transmission apparatus 1305 is configured to receive or send data byusing a network, or may further be configured to transmit data betweenthe processor and the memory. A specific example of the foregoingnetwork may include a wired network and a wireless network. In anexample, the transmission apparatus 1305 includes a network interfacecontroller (NIC). The NIC may be connected to another network device anda router by using a network cable, so as to communicate with theInternet or a local area network. In an example, the transmissionapparatus 1305 is a radio frequency (RF) module, which communicates withthe Internet in a wireless manner.

Specifically, the memory 1303 is configured to store an application.

The processor 1301 may invoke, by using the transmission apparatus 1305,the application stored in the memory 1303, to perform the followingsteps:

obtaining a selection instruction generated by an application running ona first terminal in response to a selection operation triggered by auser, the selection instruction including configuration informationselected by the user, the configuration information being used forconfiguring a scene element in the virtual scene;

generating indication information according to the selectioninstruction, the indication information being used for indicating atarget scene element in a plurality of scene elements; and

transmitting the indication information to an application running on asecond terminal, to instruct the application running on the secondterminal to display the target scene element in the virtual scene.

The processor 1301 is further configured to perform the following step:

transmitting the plurality of pieces of configuration information usedfor representing a plurality of scene elements to the first terminal,quantities of props configured by using any two of the plurality ofpieces of configuration information in the virtual scene beingdifferent;

transmitting the plurality of pieces of configuration information usedfor representing a plurality of scene elements to the first terminal,moving trajectories of transport vehicle configured by using any two ofthe plurality of pieces of configuration information in the virtualscene being different, the transport vehicle being configured totransport a plurality of objects;

transmitting the plurality of pieces of configuration information usedfor representing a plurality of scene elements to the first terminal,safe zones configured by using any two of the plurality of pieces ofconfiguration information in the virtual scene being different, the safezone being a zone in which no harm is caused to life attributes of aplurality of objects; or

transmitting the plurality of pieces of configuration information usedfor representing a plurality of scene elements to the first terminal,weather environments configured by using any two of the plurality ofpieces of configuration information in the virtual scene beingdifferent.

For the terminal configured to implement the foregoing configurationmethod for a virtual scene according to an embodiment of thisdisclosure, refer to FIG. 13 . A display is further included based onthe structure shown in FIG. 13 .

The display is configured to display a plurality of pieces ofconfiguration information obtained from a server, the configurationinformation being used for configuring a scene element in a virtualscene;

The processor may invoke, by using the transmission apparatus 1305, theapplication stored in the memory 1303, to perform the following steps:

detecting a selection operation for the plurality of pieces ofconfiguration information, and generating a selection instruction inresponse to the selection operation, the selection instruction includingconfiguration information that is selected by a user and that is usedfor determining a target scene element; and

transmitting the selection instruction to the server, and determining,through the server based on the selection instruction, the target sceneelement and generating indication information, to instruct anapplication running on a second terminal to display the target sceneelement in the virtual scene.

Optionally, for a specific example in this embodiment, refer to theexamples described in the foregoing embodiment. Details are notdescribed herein again in this embodiment.

A person of ordinary skill in the art may understand that, the structureshown in FIG. 13 is only exemplary. The terminal may be a terminaldevice such as a smartphone (such as an Android mobile phone or an iOSmobile phone), a tablet computer, a palmtop computer, a mobile Internetdevice (MID), or a PAD. FIG. 13 does not constitute a limitation on thestructure of the electronic device. For example, the terminal mayfurther include more or fewer components (for example, a networkinterface and a display apparatus) than those shown in FIG. 13 , or havea configuration different from that shown in FIG. 13 .

A person of ordinary skill in the art may understand that all or some ofthe steps of the methods in the foregoing embodiments may be implementedby a program instructing relevant hardware of the terminal device. Theprogram may be stored in a computer-readable storage medium. The storagemedium may include a flash disk, a read-only memory (ROM), a randomaccess memory (RAM), a magnetic disk, an optical disc, and the like.

An embodiment of this disclosure further provides a storage medium.Optionally, in this embodiment, the storage medium may be configured tostore program code for performing configuration method for a virtualscene.

Optionally, in this embodiment, the storage medium may be located on atleast one of a plurality of network devices in the network described inthe foregoing embodiment.

Optionally, for a specific example in this embodiment, refer to theexamples described in the foregoing embodiment. Details are notdescribed herein again in this embodiment.

Optionally, in this embodiment, the storage medium may include, but isnot limited to, various media such as a USB flash drive, a ROM, a RAM, aremovable hard disk, a magnetic disk, and an optical disc that can storethe program code.

The sequence numbers of the foregoing embodiments of this disclosure aremerely for description purpose and do not indicate the preference of theembodiments.

When the integrated unit in the foregoing embodiments is implemented inthe form of a software functional unit and sold or used as anindependent product, the integrated unit may be stored in the foregoingcomputer-readable storage medium. Based on such an understanding, thetechnical solution of this disclosure essentially, or a partcontributing to the related art, or all or a part of the technicalsolution may be implemented in a form of a software product. Thecomputer software product is stored in a storage medium and includesseveral instructions for instructing one or more computer devices (whichmay be a personal computer, a server, a network device, or the like) toperform all or some of steps of the methods in the embodiments of thisdisclosure.

In the foregoing embodiments of this disclosure, descriptions of theembodiments have different emphases. As for parts that are not describedin detail in one embodiment, reference may be made to the relevantdescriptions of the other embodiments.

In the several embodiments provided in this disclosure, it is to beunderstood that the disclosed client may be implemented in othermanners. The apparatus embodiments described above are merely exemplary.For example, the division of the units is merely the division of logicfunctions, and may use other division manners during actualimplementation. For example, a plurality of units or components may becombined, or may be integrated into another system, or some features maybe omitted or not performed. In addition, the coupling, or directcoupling, or communication connection between the displayed or discussedcomponents may be the indirect coupling or communication connectionthrough some interfaces, units, or modules, and may be in electrical orother forms.

The units described as separate parts may or may not be physicallyseparate. Parts displayed as units may or may not be physical units, andmay be located in one position, or may be distributed on a plurality ofnetwork units. Some or all of the units may be selected according toactual requirements to achieve the objectives of the solutions in theembodiments.

In addition, functional units in the embodiments of this disclosure maybe integrated into one processing unit, or each of the units may existalone physically, or two or more units are integrated into one unit. Theforegoing integrated unit may be implemented in the form of hardware, ormay be implemented in the form of a software function unit.

The foregoing descriptions are merely exemplary implementations of thisdisclosure. A person of ordinary skill in the art may further makeseveral improvements and refinements without departing from theprinciple of this disclosure, and the improvements and refinements shallfall within the protection scope of this disclosure.

What is claimed is:
 1. A method for configuring a virtual scenecomprising: obtaining a target configuration information for a targetscene element in the virtual scene based on an instruction by a firstclient indicating a candidate scene element; and instructing a secondclient to display the target scene element in the virtual scene based onthe target configuration information, wherein a player activity in thevirtual scene is only viewable via the first client and the playeractivity in the virtual scene is interactable via the second client. 2.The method of claim 1, wherein the instruction by the first client is aselection instruction, and obtaining the target configurationinformation comprises: counting, according to selection instructionstransmitted by a plurality of first clients respectively in response toselection operations of different users via the plurality of firstclients, a quantity of times that each of a plurality of candidate sceneelements is selected; and determining the target scene element accordingto the quantity of times that the each of the plurality of candidatescene elements is selected.
 3. The method of claim 2, whereindetermining the target scene element according to the quantity of timesthat the each of the plurality of candidate scene elements is selectedcomprises: determining a scene element with most selected times as thetarget scene element.
 4. The method of claim 2, wherein determining thetarget scene element according to the quantity of times that the each ofthe plurality of candidate scene elements is selected comprises:determining a weight of the each of the plurality of candidate sceneelements according to the quantity of times; performing, according to aparameter configured for the each of the plurality of candidate sceneelements and the weight of the each of the plurality of candidate sceneelements, weighted summation to obtain a reference value; anddetermining a scene element having a parameter closest to the referencevalue as the target scene element.
 5. The method of claim 2, wherein thevirtual scene is a virtual scene in an application running on the secondclient, the application comprises a game application, an event livestreaming application, a medical simulation application, or a militarysimulation application, and the users comprise viewers watchinglive-streamed content of the application.
 6. The method of claim 5,wherein the method further comprises: in response to the applicationbeing in a preset first running stage, sequentially transmitting aplurality of pieces of configuration information of a global sceneelement to the first client at a specified time point before theapplication is to display a scene element via the second client.
 7. Themethod of claim 6, wherein the plurality of pieces of configurationinformation comprises at least one of a plurality of pieces ofconfiguration information of a virtual prop element, a plurality ofpieces of configuration information of a moving trajectory of a virtualtransport vehicle, a plurality of pieces of configuration information ofa safe zone, or a plurality of pieces of configuration information of aweather environment.
 8. The method of claim 5, wherein the methodfurther comprises: randomly transmitting a plurality of pieces ofconfiguration information of a random scene element to the first clientaccording to a scene correlation between a historical scene element inthe application and the random scene element.
 9. The method of claim 1,wherein the method further comprises: classifying first clients into afirst-type first client and a second-type first client; transmitting aplurality of pieces of first-type configuration information for thescene element in the virtual scene to the first-type first client; andtransmitting a plurality of pieces of second-type configurationinformation for the scene element in the virtual scene to thesecond-type first client, the first-type configuration information andthe second-type configuration information being configured respectivelyfor different attributes of the scene element in the virtual scene. 10.The method of claim 1, wherein the method further comprises:transmitting feedback information to the first client, the feedbackinformation indicating whether the candidate scene element is the targetscene element.
 11. An apparatus for configuring a virtual scene,comprising: a memory operable to store program code; and a processoroperable to read the program code and configured to: obtain a targetconfiguration information for a target scene element in the virtualscene based on an instruction by a first client indicating a candidatescene element; and instruct a second client to display the target sceneelement in the virtual scene based on the target configurationinformation, wherein a player activity in the virtual scene is onlyviewable via the first client and the player activity in the virtualscene is interactable via the second client.
 12. The apparatus of claim11, wherein the instruction by the first client is a selectioninstruction, and the processor is configured to: count, according toselection instructions transmitted by a plurality of first clientsrespectively in response to selection operations of different users viathe plurality of first clients, a quantity of times that each of aplurality of candidate scene elements is selected; and determine thetarget scene element according to the quantity of times that the each ofthe plurality of candidate scene elements is selected.
 13. The apparatusof claim 12, wherein the processor is configured to: determine a sceneelement with most selected times as the target scene element.
 14. Theapparatus of claim 12, wherein the processor is configured to: determinea weight of the each of the plurality of candidate scene elementsaccording to the quantity of times; perform, according to a parameterconfigured for the each of the plurality of candidate scene elements andthe weight of the each of the plurality of candidate scene elements,weighted summation to obtain a reference value; and determine a sceneelement having a parameter closest to the reference value as the targetscene element.
 15. The apparatus of claim 11, wherein the processor isfurther configured to: sequentially transmit a plurality of pieces ofconfiguration information of a global scene element to the first clientat a specified time point before the second client is to display a sceneelement.
 16. The apparatus of claim 15, wherein the plurality of piecesof configuration information comprises at least one of a plurality ofpieces of configuration information of a virtual prop element, aplurality of pieces of configuration information of a moving trajectoryof a virtual transport vehicle, a plurality of pieces of configurationinformation of a safe zone, or a plurality of pieces of configurationinformation of a weather environment.
 17. The apparatus of claim 11,wherein the processor is further configured to: randomly transmit aplurality of pieces of configuration information of a random sceneelement to the first client according to a scene correlation between ahistorical scene element in the virtual scene and the random sceneelement.
 18. The apparatus of claim 11, wherein the processor is furtherconfigured to: classify first clients into a first-type first client anda second-type first client; transmit a plurality of pieces of first-typeconfiguration information for the scene element in the virtual scene tothe first application running on the first-type first client; andtransmit a plurality of pieces of second-type configuration informationfor the scene element in the virtual scene to the first applicationrunning on the second-type first client, the first-type configurationinformation and the second-type configuration information beingconfigured respectively for different attributes of the scene element inthe virtual scene.
 19. The apparatus of claim 11, wherein the processoris further configured to: transmit feedback information to the firstclient, the feedback information indicating whether the candidate sceneelement is the target scene element.
 20. A non-transitorymachine-readable storage medium, having processor executableinstructions stored thereon for causing a processor to: obtain a targetconfiguration information for a target scene element in a virtual scenebased on an instruction by a first client indicating a candidate sceneelement; and instruct a second client to display the target sceneelement in the virtual scene based on the target configurationinformation, wherein a player activity in the virtual scene is onlyviewable via the first client and the player activity in the virtualscene is interactable via the second client.